const baseUrl = 'https://objectstorageapi.hzh.sealos.run/mmus5vsm-mars';

// 定义基础歌词，避免重复
const thisLittleLifeLyrics = [
  "Lyrics by: Tom Rosenthal",
  "Composed by: Olivia Ter Berg",
  "",
  "All the tiny bits of hope",
  "That I've kept in a pocket of my coat",
  "For the existential moments",
  "",
  "All the fragments of your smile",
  "That I store on a number on speed dial",
  "For the days of dark descending",
  "You can tell the ending",
  "",
  "That I'm alright",
  "And I'm alive",
  "And I'll be laughing through this funny little life",
  "Before it blows",
  "Smiling as she goes",
  "Down the open roads",
  "But I will hold you for as long as it goes",
  "I will hold you for as long as it goes",
  "This little life",
  "",
  "All the people that I love",
  "That I keep in the bottom of a sock",
  "For the day of lonely regrets",
  "You can tell the sunsets",
  "",
  "That I'm alright",
  "And I'm alive",
  "And I'll be laughing through this funny little life",
  "Before it blows",
  "Smiling as she goes",
  "Down the open roads",
  "But I will hold you for as long as it goes",
  "I will hold you for as long as it goes",
  "This little life",
  "",
  "You can tell this little life that I'm coming",
  "You can tell this little life l'm not done yet",
  "You can tell the sunrise",
  "",
  "That I'm alright",
  "And I'm alive",
  "And I'll be laughing through this funny little life",
  "Before it blows",
  "Smiling as she goes",
  "Down the open roads",
  "Down the open roads",
  "Where I'm alright",
  "And I'm alive",
  "And I'll be laughing through this funny little life",
  "Before it blows",
  "Smiling as she goes",
  "Down the open roads",
  "But I will hold you for as long as it goes",
  "I will hold you for as long as it goes",
  "This little life"
];

const hopeLyrics = [
  "HOPE",
  "HO-O-O-OPE",
  "",
  "Can you hold me from afar",
  "Pretend that you are closer",
  "Keep all our memories in a jar",
  "And place it right beside ya",
  "All the moons showed me you'd be the one to sing me home",
  "You are with my heart when it has hope",
  "When it has",
  "",
  "HOPE",
  "HO-O-O-OPE",
  "",
  "Can you look out your window and see me in the distance",
  "If you smile a little glow I will see your persistence",
  "All the suns showed me you'd be the one to write my road",
  "You are with my heart when it has hope",
  "When it has",
  "",
  "HOPE",
  "HO-O-O-OPE",
  "",
  "Hope that we'll rise like the sun will do",
  "Who will you hold when it's over?",
  "Hope that we'll rise like the sun will do",
  "Who will you hold when it's over?",
  "",
  "All the moons told me you'd be the one to sing me home",
  "You are with my heart when it has hope",
  "When it has",
  "",
  "HOPE",
  "HO-O-O-OPE",
  "HO-O-O-OPE",
  "",
  "H.O.P.E what will be will be",
  "Walking through the dark with you",
  "H.O.P.E what will be will be",
  "Walking through the dark with you",
  "H.O.P.E what will be will be",
  "Walking through the dark with you",
  "H.O.P.E what will be will be",
  "Walking through the dark with you"
];

const sleepIsARoseLyrics = [
  "Lyrics by: David Rhodes",
  "Composed by: David Rhodes",
  "",
  "Sleep is a rose",
  "But I only hear the gale wind blowing cold",
  "Against my windows",
  "As I fold then I curl my leg around yours in a hold",
  "I said, \"darling, I'm scared of growing old\"",
  "I'm sorry if I'm loud",
  "I'm just worrying about that now",
  "",
  "'Cause I lay here",
  "I'm still waiting for the sun",
  "",
  "And you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "And you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "",
  "I started to listen to every little sound",
  "And so how am I supposed to forget silence?",
  "As I fold and I curl my own head around yours in a hold",
  "You said, \"my love, I'll take you to the fairground\"",
  "I know you're not around",
  "You're sleeping and talking now",
  "",
  "And I'm still laying here",
  "Just waiting for the sun",
  "",
  "And you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "And you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "",
  "And you said, \"boy, you better know that you got this love\"",
  "And you said, \"boy, you better know that you got this love\"",
  "",
  "And you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "Yeah, you said sleep is a rose",
  "But I wanna tell you it only brings me fear",
  "",
  "So I hope morning comes 'round soon"
];

const songs = [
  {
    id: '1',
    title: 'This Little Life',
    artist: 'Tom Rosenthal',
    album: 'Tom Rosenthal',
    cover: '/assets/covers/1.png',
    src: `${baseUrl}/1.mp3`,
    duration: '03:45',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: thisLittleLifeLyrics
  },
  {
    id: '2',
    title: 'Hope (Acoustic)',
    artist: 'Tom Rosenthal / Lizzy McAlpine',
    album: 'Hope (Acoustic)',
    cover: '/assets/covers/2.png',
    src: `${baseUrl}/2.mp3`,
    duration: '04:12',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Classical',
    language: 'English',
    tags: ['古典', '流行'],
    lyrics: hopeLyrics
  },
  {
    id: '3',
    title: 'Sleep Is A Rose',
    artist: 'David Rhodes',
    album: 'Sleep Is A Rose',
    cover: '/assets/covers/3.png',
    src: `${baseUrl}/3.mp3`,
    duration: '03:30',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: sleepIsARoseLyrics
  },
  {
    id: '4',
    title: 'This Little Life',
    artist: 'Tom Rosenthal',
    album: 'Tom Rosenthal',
    cover: '/assets/covers/1.png',
    src: `${baseUrl}/1.mp3`,
    duration: '03:45',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: thisLittleLifeLyrics
  },
  {
    id: '5',
    title: 'Hope (Acoustic)',
    artist: 'Tom Rosenthal / Lizzy McAlpine',
    album: 'Hope (Acoustic)',
    cover: '/assets/covers/2.png',
    src: `${baseUrl}/2.mp3`,
    duration: '04:12',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Classical',
    language: 'English',
    tags: ['古典', '流行'],
    lyrics: hopeLyrics
  },
  {
    id: '6',
    title: 'Sleep Is A Rose',
    artist: 'David Rhodes',
    album: 'Sleep Is A Rose',
    cover: '/assets/covers/3.png',
    src: `${baseUrl}/3.mp3`,
    duration: '03:30',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: sleepIsARoseLyrics
  },
  {
    id: '7',
    title: 'This Little Life',
    artist: 'Tom Rosenthal',
    album: 'Tom Rosenthal',
    cover: '/assets/covers/1.png',
    src: `${baseUrl}/1.mp3`,
    duration: '03:45',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: thisLittleLifeLyrics
  },
  {
    id: '8',
    title: 'Hope (Acoustic)',
    artist: 'Tom Rosenthal / Lizzy McAlpine',
    album: 'Hope (Acoustic)',
    cover: '/assets/covers/2.png',
    src: `${baseUrl}/2.mp3`,
    duration: '04:12',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Classical',
    language: 'English',
    tags: ['古典', '流行'],
    lyrics: hopeLyrics
  },
  {
    id: '9',
    title: 'Sleep Is A Rose',
    artist: 'David Rhodes',
    album: 'Sleep Is A Rose',
    cover: '/assets/covers/3.png',
    src: `${baseUrl}/3.mp3`,
    duration: '03:30',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: sleepIsARoseLyrics
  },
  {
    id: '10',
    title: 'This Little Life',
    artist: 'Tom Rosenthal',
    album: 'Tom Rosenthal',
    cover: '/assets/covers/1.png',
    src: `${baseUrl}/1.mp3`,
    duration: '03:45',
    isLiked: false,
    playCount: 0,
    createTime: '2024-01-20',
    genre: 'Pop',
    language: 'English',
    tags: ['流行', '治愈'],
    lyrics: thisLittleLifeLyrics
  }
];

module.exports = {
  songs,
  baseUrl
};